# _*_coding:utf-8_*_
# Author   :luoyuan 
# Date     :2019/1/5 19:08  

class Room:

    def __init__(self,name,owner,width,length,heigh):
        self.name=name
        self.owner=owner
        self.width=width
        self.length=length
        self.heigh=heigh

    @property
    def calu_area(self):
        print('%s住的%s面积%s'%(self.owner,self.name,self.width*self.length))
        return self.length*self.width
r1=Room('客厅','luoy',100,100,100)

r1.calu_area